from tqdm import tqdm
import tqdm
for i in tqdm(range(1000)):  
     #do something
     pass